<% @page_title = "修改#{h @group.title}资料 | 多背一公斤 - 灾后学校重建计划" -%>

<% content_for :sidebar do -%>
  <h2><%= link_to "返回#{@group.title}小组", group_url(@group.id) %></h2>
<% end -%>

<h1>修改小组资料</h1>
<% form_for :group, :url => group_url(@group.id), :html => {:method => "put"} do |f| -%>
  <%= render :partial => 'form', :object => f %>
  <%= submit_tag "改好了，提交" %>
<% end -%>